package cn.hnc.checkapi.repository;

import cn.hnc.checkapi.bean.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {
   User findFirstByUsername(String username);

   User findByUsername(String username);
}
